Started code to filter by category

Added some sample code that shows how filtering works by category. This
will definitely need to be generalized for more categories, but
functionality is now there.