Almost operational query structure
Merge branch 'master' of https://github.com/IvanTopolcic/BestBot.git