TODO: Iron out kinks in insertOutcomes

Maybe not. Its actually working quite well.

Next big thing is to create function for inner join queries.