Use the repo linked in this post above
And read this thread to learn more about the use of custom code in SmartThings