Inline html resources

closes #10

This builds on top of both #12 and #13