Added netio.py and fixed messages