some utils used in other projects like mongodb inmemory implementation and promise fluent interface