First version available on testdb

This version solves a lot of little problems that occurs when the
footer is built with grunt. It also eliminates redundancy and clean code