simple organization of DB feilds into inner classes