HV code removed from Resources and placed in HVPort