Added config_init and macros for setting the key-file