Added a simple farm function and a world_t type.