added bean lib and Beacon region detector