Initial rewind implementation written and ready for basic testing.