Updated Config class. Now it is starting to make sense