updated gemfile, added basic framework for API handling