networkmanager.py refactored.networkmanager.py refactored.
Fixed typing errors in program.py
speaker.py refactored.