define templates and use bootstrap 3