Changed Pressagio class from config file to config object.