added templates for all reference docs
started reworking eventually() and scopingFunction