make configuration modular, define database types