Making createTables more in line with what it should actually do, still need to test back in actual app