Remove unused using directives
Removed unused references
Moved class WifiProfile in its own file.
Some commenting and little visual code changes

I'm really new to this open source coding. I'm not sure if this commit
is to brutal. Just give me a chance.. ;-)