Initial restructuring to a single module and Gradle