Add database config and basic models for account and calendar