added ticket functionality, improved api and ubersmith integration