// Create context factory extension point
ContextFactoryExtensionPoint contextFactories = new DefaultContextFactoryExtensionPoint();
registry.addExtensionPoint(contextFactories);
// Create Message factory
MessageFactory messageFactory = new MessageFactoryImpl();
factories.addFactory(messageFactory);
// Create a proxy factory
proxyFactory = ReallySmallRuntimeBuilder.createProxyFactory(registry, mapper, messageFactory);