Add more coreserver code

Signed-off-by: Michael Buesch <m@bues.ch>