update

Integrated persistence though not connected to db yet, bind UI events to
create a string commands for server