Turn Album and Photo to ActiveRecord. Remove $created and $updated fields from Entity. Add Registry for Entities caching.