Implement mass parsing. Implement rendering. Add tests for the renderer
using FakeFS. Minor fixes.