set up bundler and refactored requires + gems