Added generic dao pattern and added ContactDao and its implementation