Refactor and test code reloading through project generation