Refactoring to remove the creation of the funciton context as the major perf bottleneck
Updating readme