First version of PBS parser