add pill_time model
fix schedule controller and view paths