web boilerplate

* using pat for pattern multiplexing
* loading tempaltes on startup