Added Knob functionality and directive