Add animation class

This will be used to create animations. Also changed from 3 to 2
underscores in front of private variables and functions.