move away from putting every interface into a "types" package