Added animation class, updated graphics classes