changed application organization, added main controller, decided to do single page application