Refactor to allow playing back multiple tracks