Refactorizes the project