chnaged write method
crated AmfReader class
create Amf3Reader class