Remove AfterBuy code from the bundle

Remove AfterBuy code from the bundle. AfterBuy will have its own bundle