Add initial directory creation logic and libiconv pkg.json.