Set up peovs code for MODB API. Refactored underlying code to line up
with MODB API.

Change-Id: I9db03ce75401133816477109b7faee779d362419
Signed-off-by: Scott Mann <smann@noironetworks.com>