[!] changed inteface and added client-server behaviors