WIP: deployments POC

Make policy a struct with a single field "type"