Media manager project in PHP with Phalcon