environment and ref are first class in deployment models now
Merge pull request #33 from ZeroFucks/update-payloads

environment and ref are first class in deployment models now