sets up the main python script, currently gets data from the api