renaming debug file to general tools
moving curl wrapper into tools, setting up tools class