Interaction api update and knox refactoring for scaling