Work with new Resources

The prototype can now work with the new `Resource` in Rymd.

## Known issues

There's no `data` attribute attached to the `Resource` object, so viewing files is not working right now.