Added gemfile to get dependencies up
Minor reliability tweaks