created basic java classes.