This is the main viewer for the database. It also serves as a sample content-based image retrieval (CBIR) system for querying the database. We've tried to extract as much functionality out into other classes as possible in order to ease the integration of our algorithms into a new interface. This class serves as a fairly extensive example of how to use our classes in a real application.