Updated code to process data from NSE datasource.

Modified Line Numbers: 59-61, 132-137, 237-243, 271-277, 305-311