Added a class and Id to each element