Variable categories

Added ability to select a category for a variable