Introduced new renderer, directives, improvements and new functions to dom class