Allow attribute based functioning of the dhcp cook.

Aslo replaces tailor/cane with rubocop