Improving commands: install/upgrade/status in order to work with out the chamilo code base, queries are runned with Doctrine.
Fixing queries.
Updating composer