Moved Java and Test files to standard Maven directory structure.
Fixed JUnit tests.
Added gradle build files.