Update to make the new ps API work

Initial implemention added, and minimal working enviroment on /new