- updated config handling
- added docs