Add proxy pattern to java folder