Initial commit with pattern playback prototype code