Started refactoring api
Made simple query function to remove duplicate processes
Merge branch 'master' of github.com:wspurgin/NightKnights into refuctor
Merge branch 'refuctor' of github.com:wspurgin/NightKnights into refuctor
Refactored login function, Added some more functionality to query(). Will return single object if only one object present
Refactored createUser and getCurrentUser
Refuctored alot of the api and 'querying'... Current state is messy, but more refuctoring to come
Finished first stage refactoring of Api, abstracted querying into separate db class
Merge branch 'refuctor'
"Merging refactored api, and db into master"