Remove obsolete classes, add skeleton for Minimum spanning tree problem.