did a little cleanup and created psl-cmd class. You can just query values for now.