adding map type, and ability to specify a vhost template