Port dhcp api to modules/
Merge pull request #1 from GregSutcliffe/plugins

Port Dhcp