Reorganize Term submodules and add more doc
Add doc generation Makefile target