add missing methods in SqlInterface that are present in Sql.
add save method in Query class.