Category as the Building Block of Planning