Split schema into separate file for testing with diff db instances
Add collections file
Fix foreign key issues in schema