DHCP record and functions refactoring

Some changes towards a better docs and also some design changes ...