added buttons.js with createButton function
renamed to sample in json to value
in and output ports in cololapsables, prepared properties