Add shared folder in config and fix env.-var

Add shared folder 'Media' to config.json and export all
the environment variables