Implemented COMMAND commands + fixed count issue in Protocol