Added pages and page handling of item.html, city.html. Slightly changed models and fixed bugs in base.html.