GOAL:
To run a continuous loop through a function returning json results adding new results to a database table and doing some things when it finds a new result while