Added more checks for autoload.php
Added config file option to console command create database
Fixed SQL syntax error in database creation