used some zend functionality
added zf2.0 dependency