Changes in extension loading; vpn extension and some changes in base_model