Factor out MAC Address functions into separate file.