add class EulerAngles, change some codes