edited classes and added animated mesh class