TYPOC-37: Introduced flat settings feature for all settings and changed the configuration API accordingly
TYPOC-38: Implemented records API
TYPOC-37: Several refactorings to make code easier to understand (fi. fields to settings)