Moved all java stuff to java folder in preparation for c-ification.
Began conversion to c, need to work out timing...