added gui.js and .css to create collapsable parts
prepared http post actions with hopefully valid JSON messages for ruby part