finally made the bulk of the app work
playback works correctly