Gradle builds

Made it easier to compile and setup gradle.