added ctm and mallet codebases

we'll point them to input files outside the repository and dump their
output files to outside the repository. best to leave that code in here
because i will likely edit it a little.