Move React components into separate files