Split UI components into helper classes