tweaks in ui
skeleton of database acces functionality