Refactor html into header footer and welcome body