refine sched, event and add ptos
fix typo
refine event, sched
refine the relationship of event, sched and io