Convert shelf into AnimatedEntity.

Change function names from camelCase to snake_case.