ok, got everything appropriately split up. i'm happy with the threaded_each and blocks i've added
adding print statements so the web app can pick up verbosity