Added deployment creation functionality.

Added deployment creation functionality.