Entry methods to parse & validate template, return parameters, file refs for environments

Change-Id: Iad4776064086f7b18798cdc2a0cfce65d473da7c