Updated to manifest V2

Prepared extension to support manifest V2