moved generated DatabaseReference types and RefFactory to model package
(from model.dsl)