added checnges in object3d
resources implementation refactoring