Add Module class
Add Module class

A module is what Mithril wants when you set up a route. It wraps
everything up. It has a view function and optionally a controller
function. I'm not using a controller, so it doesn't have that.

leftiness/leftiness.github.io,leftiness/leftiness.github.io,leftiness/leftiness.github.io