Cleanup and PEP8 fixes

- Everything now follows PEP8
- Moved ContextStack to __init__ and removed context.py
- Moved Network class to objects.py to make importing cleaner
- Made some relative imports absolute imports,
  will try to always do this in the future