More functionality added to create_element

create_element now also takes in 2 more parameters in the
element_build_dict:
(1) Class (a single class attributed to the element, previously it had
to be passed through as a single element of 'Classes')
(2) Text (Appends a text node to the element containing the value mapped
by 'Text')