Implement edge-resource

This closes #12