added methods to directory and contactlist

the main methods