refactor and clean.

add ref to thespite experiment.