adding io dependency and removing PSTMain class