Rename 'Main' to 'CmdLine'.
Add 'ConfigLoader' as another entry point which load config from a file of JSON and applies it to the database instance.
Provide minimal sample json configuration for loading from a file