Changed groups and user add to defined resource types.
Added global params.pp file to hold all the variables.