Added a base_url field to the configuration file format and added catch(Exception e) blocks to areas where unexpected/undeclared exceptions were being thrown just to get the code to work