added more user control for categories.
Also added the save/load for categories.