Crossdomain requests
Separated query handling to a new file
Sorting