cleaned out restangular and added basic controllers and some endpoints