add classes for parsing input instruction of rover