Created db module and get_latest_data function

Isn't the return data a list of dictionaries?