[FEAT] added parse_def() method and implemented table definition parsing