Added master manager and Java interface