Feature robot allocation

I'm not sure why so many commits are in here?!?