Added parsing of components from html file