extract footer as a module