Move DAO to notifications server and modify data generation for test