Completely creating studies; additional methods for testing

Same thing, it's only per environment, get rid of explicit reference to Environment.