Implemented TableSet and ForeignKeys features