Rework

- [ ] Fix tests
- [ ] Fix topdoc generation
- [ ] Add tpct to Gruntfile