Major overhaul of paths

Generating and use. Also actions no longer know their robot but is
passed down as a parameter.