added DAO interface and logDAO class