Added cp task and refactor ff.__init__