organized the java classes