added newnetwork package
TODO: implement stuff
TODO: make eventmanager threadsafe