Wrote config loader

Wrote config loader. It can load config from file or json string.
```
 AppConfig = AppConfig(path)
```
#4