Convert to expecting a module
Change Resource to a module everywhere.
Refactor into a module
Fix type passing
Merge pull request #10 from otherinbox/rm/include

Use Include, fix type