Moved common config into a separate class.
WIP: Detect presence of filesystem metadata.