New queries for tables were added.
The table creation queries were updated.

The way the foreign key reference queries are written may need to be checked.
Merge pull request #1 from charounsons/master

create.php Updated