moved table creation to prepareDatabase.c