Add config parser (and make some unrelated properties public)