I added some functions to commands and adjusted server.c some more