Switched around database creational pattern--now goes through a JSON storage class that spits out a Database instance.
Bug in import main, json storage