Add documentation

- [ ] Add documentation to code.
- [ ] Setup rtfd integration