Added gemfile and fixed a few syntax errors