REST plugin, cleanup of gradle files
Fixed maven file structure
Further Gradle adjustments