Implement frame state and animation architecture