Added tag and attribute functionality in the form of Map<String, HashMap<String, String>>