adding core and db config