added index view code
database migration (1) done
;
a dead branch because I've changed the way I want pages to work