move interface outside of class