DBHelper class for database functionality

DBHelper class for database connectivity, and functions