Extracted java into a separate module