Deployment subsystem

Would be better to take this as an argument as per previous comment.