started to create database connection class