moving PSP related global vars inside PSP object