refactoring done, starting dgram iface next