integrate mahout with student project with some changes