cleaned code

cleaned the user commands and put the server commands interface in the
server.class