Release/v1 4 6

Add Gemfile, fix some bugs that were a cause of other gems upgrading.