added gradle build script and moved stuff around for that