Adding Deployment API - For Review

This is still a work in progress but I figure I'll open up this PR now for comments, reviews, concern, etc..

you should not use the short array syntax, as it is not compatible with PHP 5.3