Adding database configuration and basic models