Created some base classes for unit and command