how to use mallet framework