Simplify custom config on constructor

Clean up tests and make them pass
Start the foundation of the file store factory (lib/server/index.js, line 41)