add routes to Resource
Merge pull request #1 from deane/master

add routes to Resource