Juste cleared a bit this file.
Made the vhost module work using hash as argument. (It doesn't create the vhost it self yet).