Added support for categories in advanced API
Merge pull request #2 from TerryMooreII/AdvananceAPICategories

Added support for categories in advanced API.