Minoir updates adding a constructor & helper function