Clean header and footer template
classes renaming, no #id left, and type modification.
TODO Update