adding mmax java classes