replaced server_data_fn with weak_ptrs
added findByName