server basic functionality working. Tests still missing and thread pool
cleanup not implemented yet.