Removed foreign keys from create tables

Code breaks at line 103