add four classes and add some test code.