Changed category logic & icons

Change category logic by adding category type in json. Note that it is
still not general and there are 4 categories to choose from w/ hard
coded icons.