Small house keeping issues

minor amends to either correct typos or bring inline with coding style
Adding caching mechanism

Add caching to the framework , including support of multiple drivers
Sql server aggregate method support