Fix Gradle setup to be more sane

Moved things to standard locations
Changed the build.gradle