General class scheduling module