Add communication with java module