Reader working now. Let's improve.
Improved network.py. It got simplified a lot.