generates simple main controller to get app going