Added DAO stuffs

Added DAO stuffs