Utility class for managing layouts and views