Added a get config method