Finish phase 4.3

Finish phase 4.3. Parsing xml afc