added database and ability to place images on map based on database data