[apiserver] added basic apiserver implementation;