transform to ZF application template & add doctrine instead of Zend_Db