add additional functionality to network module
update main.py to use network.py
update control.py to use network.py
update gitignore for log files