Move checkbox list code into separate file.

Make the code more generic. However, it is not used anywhere else
(leftover from a checkbox spinner experiment).
Implement interface for the coordinate system.

- Implement axis swapping.
- Store if the coordinate system should be showed.