Minor refactor

Agents now contain a world and the method generateSensorimotorSequence. 

Updated tests.

Thanks for adding documentation!