entity architecture