Ported some java files to scala

Yoohoo!!