Initial querybuilder, tools module and small documentation changes