added wordstore context and factory