HDI plugin (unfinished)

Initial commit
ToDo:
-add command line options
-write required fields to xml