orgnize the classes