added topic entity and dao