init OThread in main