organized project code to make it more readable