Move java to its own module