Revert "Transferring code to Java project"

This reverts commit f45688ae00d4fdebdc2459a1bd224907185240f2.