refs #4529
Change the StoreFactory configuration to reference to a resource instead of defining the whole database. Additionally fix docstrings, fix imports and fix function calls to comply to coding style standards. refs #4503
refs #4069