Remove snake-specific list functions. Expose the bare data. Factor out keyboard function.