Extract random solution endpoint into separate app