Interface ports

Refactored owner datapath, now uses interface ports. Also start of models refactoring.

Requires fix-owner-datapath for integration tests.