Added animation and sprite class