Added Python bindings for AFD