moved server code to gojam package