Tbaeg

Basic error handling set but will become more verbose with time. Lots of additional things to be added. Currently the API returns a promise which is handled in the controller. 
very clean code... love it