Moving java client out into a separate project