* Update BFA Library.
* Rearrange functions to match call order.