Slight changes

1. Managed to apply Bootstrap CSS
2. Conditional instantiate a template.