Change name convention in class and add markup for activity details in html