SQL code now included

I have now included the SQL code for the Database structure and I've
removed the private chat scripts for the time being until I get them
working.