add Layout class