Implemented the stubs of the classes as per the first class diagram.