Moved constants fron session to parameters.yml where they belong. Unit Tested.