Java frontend separates modules to libraries (currently problems with nested imports)