Adding StubSecurityGroupExtension and some changes to the builder