finished rewriting project into main/netio/ui, still some bugs