Added/exposed element_type function and edit README