design ui and create schedule model