Added code to get stops from database.