modified to have a much nicer workflow
tested throwing data into mysql database, now
need to test everything else before saying its stable