Replaced query_string by simple_query_string.
Seems more robust.
Added comments and put el_query wrapper function in a new file.