Added Bootstrap to pages.
Moved common parts of templates to base template.