restructure code in ui
implement find peers command - sending packet now