organized the java files into packages