Added create_element_from_dict method
Added usage of create_element_from_dict method in create_from_dict