add start func to raw server