set up gemfile, core files and basic layout