Converted everything to scala code.
Removed old java files.