use nested config instead of flat one
Merge pull request #7 from Simn/nested-config

use nested config instead of flat one