add server function. wip
add server function. wip
add message passing
wip