Move ployglot from Gemfile to library.