Add directory class