Finished second table for classes

1. I finished the second table that maps officers (names + schedule) to classes.
2. I cleaned up the functions in view by utilizing abstraction more cleanly. (Created more methods in models.py.)