Factor out Setup module