Spatial management and interrelation discovery in source code