Add create view and minor fixes