setup top-level class
update version const handling
cleanup the gemspec