AMF3 finished

AMF3 almost finished