added message structe classes and beginning of network communication