Refactor installing of project

It's done both from `benchmarks.py` and the `run` command, but should probably be done in a single command in `environment.py`.