Added snippet support
Merge pull request #3 from peter-volkov/greg_improving_categories

Added snippet support