[NOT FOR MERGE] deployment features

This PR is only for review. Feedback is very welcome.