[Engine] Started adding animations, cleaned up the code a little.