Complete rewriting

- Add tests
- Handle sub-menu
- Add README
- Full support of custom agenda command