add new function - List, and modify prompting message.
add diary class(unfinished),and added dir_init to output function.