Add the possibility to modify the query and results

The users will be able to customize the query and the results, if they need a more complex query.