Progress on #66 and better database code
Deprecade mysql_real_escape_string