Switch to gradle; update dependencies, update code

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>
README updates

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>