Added comments to model and controller classes.

Added phpDocumentor-style commenting to all model and controller
classes and methods.