move mock interface into its own file