added class deletion and class pages