added a columns property
moved the tpl in the index.html
moved the func constructor in a iife and added an appendPages method
removed the logic from here and now we are using infinite-gallery constructor
removed the templates for now