Added animation and improved entity core structure