* Moved parameters in BGD to classes
 * Added BGDClient, deprecated BGDREEF