Pascal classes for handling the dmd process