initalization function and configuration changed

The newer versions of Bolt handle configuration and initialization differently - so this version of the extensions file reflects how most extensions do it at the moment.