add dircenter source code