made mapname and config_dir private with const getters