layout's class diagram