added db and core files