switch to .ruby-version and .ruby-gemset
clean up version file
core: refactor