started to spilt deployment tasks into stages