removed XML dependancies and added a config file