db customization point
logger customization point
huge refactor, pieces moved around
more refactoring
fixes  #46
closes  #45
0.2.5