first draft for bar expression
fixes a leftover bug in the first draft (previous commit)
adds bar id
loads now also samples and sample data