To add a directory class you must create a .base_config and a .make file in the dev/etc directory. Then edit the etc.config file in that directory, build it, and then you are ready.
.base_config
.make
dev/etc
etc.config