Finish Feature-DAO
Fixed database closing issue; update unit tests