auto inc ids for data objects, links in some views

Also: proper c'tors for data objects; intendation