Refactoring in conjunction with observer pattern.
Merge branch 'master' of https://github.com/HampusDahlin/Beat-to-the-Beat