add new MAD architecture for Java