Started to implement animation support. WARNING: THIS VERSION FULL OF UNORGANIZED TESTING CODE.