Added source code for Mallet