Database structure     first pass