New db models

Skeleton for base models.