add list class and initialize method