passing worldengine to netowrk constructor