updated docs for error handling
removed old files