initial commit. database model.