Moved query path to routing class
Fixing install paths and user password setting
Moved the database config to the database class
Updated database and install initialization