Migration from SourceForge. Refactored code to match standard Java project layout. Added Gradle build script

Change-Id: I08cb4c9a68fd51d750858908a5b7a645cbd4e6c9