Split up html templates and added extra slots for easy customization and extension.
Added title as configuration option.