separate regret setup

@imlucas 
1. just separating the setup of regret into it's own file