refactored and implemented OSC messaging