Massive refactoring to Zend Framework 2