Started work on implementing Reroll, need to split the index functions oout of index and into it's own file for ajax