Basic config system

Here is the structure of configs system. I put not so many details in that, hoping we figure it in discuss.