added simple querying logic
query result no longer has to contain the column n
update readme
added API method to see if an id exists