addressing linter problems
linter now passing on lib folder, much refactoring to satisfy method length requirements
Merge pull request #33 from cloudspace/63420280_rubocop_lib

63420280 rubocop lib