COMMENT: Remove ISqlModel interface, fixed a few bugs