Adding db connection template