Rewrote NLP server to work better