Added header support;
Added footer support;
Added clonable elements support;
Added variable elements support;

this closes the issue #43