table creation and gemfile cleanup