Controller functions moved into a service, changed function names
Merge pull request #20 from DanielBadura/ControllerCleanUp

Controller functions moved into a service, changed function names