Finished API; fixed gemfile