[Singularity] getConfig() utility function

Implemented the `getConfig()` utility function, standardizing config schema along the way to make the logic...easier to write.