Unneeded variable definition in the viewParser.

Was looking through the code in order to discern how best to make the
view generation asynchronous, and noticed that this variable wasn't
used.
Refactor to allow configurable repositories.

Mongoose repository incoming soon.