Rename database tables and removed usetable lines in models