Extract components to their own files