refactor code.. create sqlite helper file for each dao