added DBwriter class in dal package