restructure functions
Add and edit existing presets, functional UI and API blackbox
Remove console.log