Initial commit
Added minified version
Check for database table name
Uniformed erorrs and tidied sections