Mavenized Mendel, made changes to make it work with latest 1.2 build.