refactor jdbc to dao package