Parses category tree and maps businesses to categories.