adding class directories