separated control server message parsing to a separate module and added tests for the feature