Move oper count and vhost stuff to set/remove mode internal
Fix not initializing module in the main log constructor