model_source as a tree

Here's my pull for loading settings from model but as a tree structure..

Thanks to this, when we have model with eg:
````
key: 'settings.key1'
value: 'val1'
````

we can access it like this: `AppCfg.settings.key1`