Generate views, index