Added experimental PS2 target. Implemented a Stream class.