new migration
formatting
added table connection model and moved methods