added response-handler

got rid of repeating  case form;
added documentation for container/copy-file;