added callbacks
refactored metronome
improved controller