Renamed createTables to initialize and moves the initialization of the model to the model's constructor