Add config initialization for resources
Merge pull request #11 from miarmak/config

Add config initialization for resources