updated structure of robot class etc. hack@night