refactored to use a tree model for selecting categories and added caching for menu block
removed testing class