rename main file to controller