delete output database only if cleanup is true
remove activity output; add control over output aggregation; change return value to an Output instance