Adds ActivityFilter class.  Also, sets up test database.