Refactoring dbbundle program
Getting Identity working with the bundle again.