Added DB Commands and Connection Management