moved interface into server