changed folder structure and added gemfile