beginning to refactor
tests at 93.5% coverage
some minor refactoring
chronjob methods passing tests
created rake task