Create Mal-Seine-Common.ps1

A common set of functions used across multiple scripts. Refactoring.