Cleaned up cruft in app. Moved to MongoDB. Changed db to a class. Verified filtering works now.