first scetch of ui

db must be done by async so switching direction!