Refactor and fix configuration options
Add example
Add TODO file