Overview:

The bed:

Rope clamps:

Pulley: