Refactored class to OSCController