Integrated enums 1, and a switch
Added CommandWord enum