Fix composer dependencies + zend namespace + refactor the manager

This PR fixes #4