I would suggest looking into the Arla AFS client, since it seems more self-contained and has already been ported to lots of platforms. Best, Jacob -- always always avoid redundancy