cruft cleaning

there is a base init, I'm not sure how well this will work, but it should work okay.  jsondb has been updated to support storing the doors as well as the keys.