implement autoplayer
convert stock pile to use playlist.

add command types to playlist.