initial directories
register crash handlers