Added NLP monad

* Using Connection Pool for DB transactions
* Added Helper functions