Many refactors are needed, pick a part of the codebase that's been hacked together and refactor it into more sustainable code.