Tokenization library written in PHP using MongoDB as data storage