moved head, header, footer and scripts into thier own file