WIP: Adding gradle build/test. Building works, testing doesn't for some reason.
WIP: Refactoring Boostrapping code, made tests work with default gradle configuration.
Refactored bootstrap, still has hardcoded paths though.