A working version of the API, some SQL filter changes
Merge pull request #2 from khandelwal/master

A working version of the API, some SQL filter changes