moved table files, moved db file parser from main