Added support for DHCP Server.
Added check if defined around validating IP Addresses.
 needed to reorder build_writefile_fw() in front of build_writefile_cfg() as to count the ATMs IPs.