Added gradle support

The build process automated using gradle