Initialize main wrapper