Made Resource configurable
Merge pull request #15 from jseidl/master

Made Resource configurable