Added CommandType
Added Java doc to CommandType
Deleted fromOption method in CommandType