added function on entitySystem. update class lib