Fixed API and Commented existing files
Minor fixes and added mysql config file