move components to layout