Network manager and initializing functions added