database architecture and home[age layout