feat(types): added dynamic type system to code
WIP: sepearet dom and template elements
WIP: reset