NGrams creation and storage
Refactored storage