Improve importing java classes