introduce gradle

introduce gradle as build system.
not working: running tests after building gradle via `gradle build`