corrected gradle build, added build instructions into readme.md