Heavy refactoring, add network classes, handle test cases recognition and comparison with original messages.