converted config to JSON
Merge pull request #4 from no92/config

improved config formatting and its managing