Added bootstrap and a basic templating function