Simple framework for building experiments in cognitive psychology