Moves original implementation to java directory.