added Object-Class and created setVertArray-function