add method to create preNode class
add test for check instance
add method to create preRelation class
delete sample test