read msg
added server class & moved config stuff to own namespace
added server class to hold connection and stuff