connection of UI actions to backend's stps

just insert is missing for now
cleaning, updated TODO