Added a parent Command class, subclasses SerialCommand and SeekCommand class.