Made actions optional to pass and added a PLayer Wrapper