Removed all remaing network related code.

Cleen up of code.
Removed unnecessary code in class Object.

Class Object is not used in any important way therefore was code removed
in order to make the code less complicated. The class Object is kept
because it may still be usefall in the future.