Memory leak fix

- took out process.exit call out from the exec function that would cause node to warn about possible memory leak.
- updated readme
- added assert to test the building of the where clause.