Added spring configs, controller, entity and repository classes