refactoring: move DDLnode implementation into its own file.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>