This adds a basic working Resource decorator with unit tests.