db module for location's component