Added animation state logic, separated out translation and rotation frames. Still need to do animation loading.