Refactored shared UI components into a shared project