Changed some variable structure in main.js, started to work on graphic for continuous-discrete, overhauled the model side of ui, moved directives into table and added controls to table