Make controller and config files