add relation object and some method for insert, delete and select