server code as submodule