Fixes/meta package support for directory passing

* creates a config.json file for persistence
* overrides the final destination directory