add new class Directory
add searchSeries function