Support new resource format with visualizer.

This commit fixes #96 and closes #31.
Merge pull request #107 from rampantmonkey/rmv-new-format

Support new resource format with visualizer.