use require_relative
move the migration stuff at the end
use 'https://rubygems.org' rather than :gemcutter
remove encoding