Create gem

As discussed with @Fryguy this pull request represents the work I was able to do according to the instructions on building a gem.

It also includes a fix to provide default options if the user does not provide a YAML file,
which could happen if they logged in manually before using this gem.

EDIT @Fryguy: Removed link because it's not publicly accesbile anyway.