Add first query
Fix sprintf
Add tasks 2 and 3
Add queries 2 and 3
Fix headers