Refactoring parseDomTree
Update rendering
Update create slide