entered first structure for initialising database connection and
defining submitDataToDB and selectDataFromDB methods.