Added package structure to the Java classes.