Minor fixes and added mysql config file