[rnd-internal-api] initial dao, schema changes and objects for referencing/referenced story