create contents class