Isolated database configuration and instantiation. Still have a mess.
did some stuff