move crashdump directory and file setup to separate app