Fixed some stuff.
Findal Fix. Reverted back to pure Java because aparantly I can't compile Scala.