robot in main, generate robot class, generate behavior classes for states