Introduce gradle build

To improve the project.