move middleware to "role" based service discovery
middle independence from old database classes
debugging
unified service expections
fixed integration tests