Moved Controller from API repository