Fixed mac and ip address definitions
Added some basic code to init the main system DB