Move class WifiProfile in its own file.