Updated swagger ui to get rid of some bugs
Moved database related code to the model for the request
Merge branch 'master' of github.com:Castcloud/Castcloud