Added base controller for api and api/v1 to hold shared logic for the api and future versions