initial commit
basic querying done
basic querying from js done
change into using ajax to query
remove debugging codes