Wrap vhost conf correctly in a class