added tests to pointer class
pointer test externd with cast assignment
replaced lots of code with smart pointer; ready to integrated skinning animation