First working version for the sddt file

sddt file generation is now working. This version is an early prototype.