Dao prototype
dao refactoring
set/get config