Moved old java and cpp code to separate directory.