removed mem_errors struct from ptw_file, since it served no purpose
rearranged directory structure