move deploy init to Deploy