Added first draft of the three java classes