moved messageFactory to static initializer instead of param and removed from storageService