Db and Transaction management added