add sample_main of scribe server