post refactoring session with jgartee. still need to clean up repository tests.