lab3: add create view app. reimplement io. fix bugs