Powershell Create Object With Methods