Created base.html and derived all templates from it. Also rewrote models using render()