Reorganized folder and updated README.md.
Improved Errors and MySQL handling.
Beautified the code and added namespacing for configuration.