Expanded and altered basic design for socket communication

- added socketconnection class
- added messagecontainer class