geofences code

added geofences code