add animations, new painter and some other improvements