Refactored REST controller, created methods for retrieving entity & entity name