add saving of hosts and vhosts templates, and writing projects to hosts and vhosts