first steps for moving html into templates