introduce global configuration file & improved file permissons management