Added very basic category filtering. Don't think it works at this point yet.