added templates, static
now working tabs, pagination