add Gemfile and database setup