major refactor, update readme

TODO
- add tests
- better documentation
- click help docstring
- click argument defaults
- general review and cleanup