implement the class manager and add unit test