moved communications into Robot.java