Made project suitable for Apache Mahout and solve error with XML generator