Moved Controller to utils