Abstracted code to Button and Animation classes