Allow passing custom service class in run_server