Initialize page templates and mako script