Fixed some SQL issues and added a README.md