split view and layout to single classes