Rework

# Still needing to be done
- [ ] Fix tests
- [ ] Fix topdoc generation
- [ ] Add tpct to Gruntfile