Refactor sound management out of main
Add undo button