Deleted unnecessary files.
Updated all services to use resource of angular and become factories.
Updated all controller to use new methods from services.