Updated JSON and MySQL constants
Updated for JSON constants
Fixed method arg errors
Updated dbcreation