Update main template and add basic bootstrapping.