Adds basic implementation for MessageFactory for testing purposes