initialize bootstrap and main page template