Fix/connect dfile and wrapper to init closes #91

connect it all up