Gradl-ized the project.

The project now uses gradle.