add callback interface in dialog
clear main activity
add navigation tabs (resolve #4)
- server / client mode