Added option to grab resources by category ID

Closes issue #9