Classes are individual sessions; courses generally last for a semester (or Jan Plan term). Use lowercase when you refer to courses and classes unless you use the specific name of a course (as listed in the catalogue) or the course uses a proper noun or numeral. Do not use quotes around course titles.
Right: I took a mathematics course and an environmental studies course last semester.
Right: I am taking American Music, Introduction to Psychology, and Intermediate Spanish.