split up some logic into formatting methods for reduced complexity
updated readme and package files for new version