added static templates and removed source html
Added database, before TV component