Bugfixes to the whole (Application, Controller & View packages)
Changes to factory and fixed unit tests.