added parent inheratence chaining; removed config to database binding