Refactored schema and routes for resources. Created separate route mappings for resources
final refactorings branch push