Modified load config method in MessengerData class

Load the config from the directory which the program is other than
another path