Looks like years of hasty modifications/improvements and negligence to me
Impressive :o
One has to manage :D