CLOUD-252 implemented skeleton of template system

This code should be refactored to a common template/processor class because this way we will have to reimplement this whole thing with Azure and every cloud platform.