minor changes in pcs parser

write returns now one string and not an array of strings
change __repr__