implemented foreign key parsing
implemented datatype matching