Initial commit of extension code