modified package dao into entities
added connection class