working on STL iterators
major changes to all network stuffs