added output messages, directory cleaning for server