Working Main classes, new tests for ByteArray and fiew fixes.
Added socket classes.
Added TODO.