Add a simple html template system.
Change npage to use layout.
Change ats npage to layout system.