Initialize directorys.