adding apache license header/copyright

Change-Id: Ibfb81f9758ba1390ba6ecd3e8009e635540f9f3e
a stack to do this on 1 box

Change-Id: I78073e13e47f56fa78f324e8a612d8685f070306
changes to work more smoothly with heat

Change-Id: Id7ecb2947592771141220dd356e1249cd85075c7
Infer main elements

Change-Id: I25b2a54d2f53695e219dbe7e40e05af2388a05f7