init: basic server functionality