Added a dom parser
Included html parser in idx controller, corrected its class name