Working WvmDetector, not that thoroughly tested yet