Finished initial TopicBuilder coding; added MALLET API

TopicBuilder is not yet tested; MALLET API is required (?) to get
TopicBuilder to work.