adding configuration and db