How to start improving code in old lagacy project