Doc - Formatting + docstring
Refactor - Improve readability
Refactor - format
Refactor - Extract a connectWifi function to be symmetric on the use of
scan, available and connect command
Refactor - Move the exported API code (not used in the main function at
the bottom of the file)
Doc - Add docstring about the main orchestrator
Refactor - Change name of the logAll function to output
Refactor - Let the invocation of wifi commands be done through the main
Refactor - Point free style
Refactor - Explicit the pattern between 'available' and 'alreadyUsed' functions
Refactor - Explicit again the pattern
Refactor - Move function before use
Doc - Refactor - Try to improve docstring
Doc - Refactor - Improve log
Refactor - Change the order of function definition
Refactor - Align connectWifi according to the other 2 functions
available and alreadyUsed
Refactor - Integrate the withLogs function in HWifi module
Refactor - Simplify the main function
Refactor - All IO in the Main module and not in HWifi
Refactor - Explicit the intermediary types to display much clearly the pattern