Add License and copyright headers to new files.
Move message getters to ParameterExpander.

ParameterExpander handles other message related methods,
so it seems to be better plave.