Revamp the codebase and refactor the logic for the system so the codebase can be easy to manage and work on by someone else.