Review of Networking validation code

Lots of changes. Mostly structure and validation
//TODO was added
Removed extra file
Merged Koki's changes with Sam and Naveens changes
Commit before rearranging to test global scope
Commit before doing continuations
Zomg it finally fucking works!
Merge branch 'continuations'