How to make new View Type

After grunt dev, how to run?
Example ‘node sao.js’?

I think it quite hard to make it generic because it is mostly custom made.

However, the possibility is to make a generic view for hosting HTML?

Example:

Which using url to open new window and genshi.
Instead open new url, it can open in tab by html.

How do you think?

Best regards