Did initial message parsing, added Command class. None of this is tested yet, so may break. Too tired to continue.