create a new category for a new memory or log it part of an existing category