CRUD for schedule added. viewport added. some cleanup