Rewrote the generator to be easier to comprehend and use Jinja2. Added support for pages. Added a local webserver.