Initial database configuration and orm model.