Rubocop + refactor

This gets rid of some of the nasty class_eval strings that made up most of this gem before