Changed api and architecture. Now using an ioc like behavior and one controller per view.