Remove ve.Factory and ve.Registry and use oojs instead

Change-Id: I2717300e6cc6102296a2b8d063d344fa5897c825
Merge "Remove ve.Factory and ve.Registry and use oojs instead"