Forge Gradle.

Adding a Gradle build file and moving things around.