a lots of changes, seems first working flat-dhcp-model version