add directory class from Purdue Assistant.
the whole project is not working yet.