Implemented application deploy logic