added basic location plugin in device