# Refactoring Strategy
Currently the codebase has been really bloated with giant 900+ lines files and needs to be refactored.
- Scan the codebase for large files and understand the current code structure and implementation.
- Create a detailed plan for refactoring the codebase to make it more readable with breaking down those large files into smaller, more manageable files.
- Follow the best practices for rust codebases, also the Ratatui TUI framework project structure if applicable.