added DAOs for incoming and outgoing references, after changing schema