Added dynamic loading of mock db